package com.sdhs.analyze.dao;
import com.sdhs.analyze.bean.InfoNodeStatusTrace;
import com.sdhs.analyze.bean.Threshold;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface InfoNodeStatusTraceMapper {

    InfoNodeStatusTrace selectOne(String nodeId, String nodeType);

    Threshold selectThreshold (Integer id );

    int insert(InfoNodeStatusTrace record);

    int insertHistory(InfoNodeStatusTrace record);

    int delete(String nodeId, String nodeType);

    int update(InfoNodeStatusTrace record);
}